package client.comm.baoding.ui.vm

import android.app.Application
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import client.comm.commlib.utils.StoreUtil
import client.comm.baoding.api.bean.SearchVal
import client.comm.baoding.ui.viewmodel.MiddleVm

import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext

class TextContentModel(app: Application) : MiddleVm(app) {

//    val wordVal = MutableLiveData<String>("")

    /*val ret = MutableLiveData<SearchVal>()

    fun getData() {
        viewModelScope.launch {
            ret.value = withContext(Dispatchers.IO) {
                StoreUtil.getBean<SearchVal>(getApplication())
            }
        }
    }*/

}